home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / include / Xm / VirtKeys.h.z / VirtKeys.h
Encoding:
C/C++ Source or Header  |  2003-11-18  |  3.0 KB  |  115 lines

  1. /*
  2.  * VirtKeys.h
  3.  *
  4.  * Copyright 2000, Silicon Graphics, Inc.
  5.  * ALL RIGHTS RESERVED
  6.  * 
  7.  * UNPUBLISHED -- Rights reserved under the copyright laws of the United
  8.  * States.   Use of a copyright notice is precautionary only and does not
  9.  * imply publication or disclosure.
  10.  *
  11.  * U.S. GOVERNMENT RESTRICTED RIGHTS LEGEND:
  12.  * Use, duplication or disclosure by the Government is subject to restrictions
  13.  * as set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii) of the Rights
  14.  * in Technical Data and Computer Software clause at DFARS 252.227-7013 and/or
  15.  * in similar or successor clauses in the FAR, or the DOD or NASA FAR
  16.  * Supplement.  Contractor/manufacturer is Silicon Graphics, Inc.,
  17.  * 2011 N. Shoreline Blvd. Mountain View, CA 94039-7311.
  18.  *
  19.  * THE CONTENT OF THIS WORK CONTAINS CONFIDENTIAL AND PROPRIETARY
  20.  * INFORMATION OF SILICON GRAPHICS, INC. ANY DUPLICATION, MODIFICATION,
  21.  * DISTRIBUTION, OR DISCLOSURE IN ANY FORM, IN WHOLE, OR IN PART, IS STRICTLY
  22.  * PROHIBITED WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF SILICON
  23.  * GRAPHICS, INC.
  24.  */
  25. /* 
  26.  * @OSF_COPYRIGHT@
  27.  * (c) Copyright 1990, 1991, 1992, 1993, 1994 OPEN SOFTWARE FOUNDATION, INC.
  28.  * ALL RIGHTS RESERVED
  29.  *  
  30. */ 
  31. /*
  32.  * HISTORY
  33.  * Motif Release 1.2.5
  34. */
  35. /*   $XConsortium: VirtKeys.h /main/cde1_maint/2 1995/08/18 19:33:46 drk $ */
  36. /*
  37. *  (c) Copyright 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  38. #ifndef _XmVirtKeys_h
  39. #define _XmVirtKeys_h
  40.  
  41. #include <Xm/Xm.h>
  42.  
  43. #ifdef __cplusplus
  44. extern "C" {
  45. #endif
  46.  
  47. #ifndef _OSF_Keysyms
  48. #define _OSF_Keysyms
  49.  
  50. #define osfXK_BackSpace    0x1004FF08
  51. #define osfXK_Insert    0x1004FF63
  52. #define osfXK_Delete    0x1004FFFF
  53. #define osfXK_Copy    0x1004FF02
  54. #define osfXK_Cut    0x1004FF03
  55. #define osfXK_Paste    0x1004FF04
  56.  
  57. #define osfXK_AddMode        0x1004FF31
  58. #define osfXK_PrimaryPaste    0x1004FF32
  59. #define osfXK_QuickPaste    0x1004FF33
  60.  
  61. #define osfXK_PageLeft    0x1004FF40
  62. #define osfXK_PageUp    0x1004FF41
  63. #define osfXK_PageDown    0x1004FF42
  64. #define osfXK_PageRight    0x1004FF43
  65.  
  66. #define osfXK_EndLine    0x1004FF57
  67. #define osfXK_BeginLine    0x1004FF58
  68.  
  69. #define osfXK_Activate    0x1004FF44
  70.  
  71. #define osfXK_MenuBar    0x1004FF45
  72.  
  73. #define osfXK_Clear    0x1004FF0B
  74. #define osfXK_Cancel    0x1004FF69
  75. #define osfXK_Help    0x1004FF6A
  76. #define osfXK_Menu    0x1004FF67
  77. #define osfXK_Select    0x1004FF60
  78. #define osfXK_Undo    0x1004FF65
  79.  
  80. #define osfXK_Left    0x1004FF51
  81. #define osfXK_Up    0x1004FF52
  82. #define osfXK_Right    0x1004FF53
  83. #define osfXK_Down    0x1004FF54
  84.  
  85. #endif  /* OSF_Keysyms */
  86.  
  87.  
  88. /********    Public Function Declarations    ********/
  89. #ifdef _NO_PROTO
  90.  
  91. extern void XmTranslateKey() ;
  92.  
  93. #else
  94.  
  95. extern void XmTranslateKey( 
  96.                         Display *dpy,
  97. #if NeedWidePrototypes
  98.                         unsigned int keycode,
  99. #else
  100.                         KeyCode keycode,
  101. #endif /* NeedWidePrototypes */
  102.                         Modifiers modifiers,
  103.                         Modifiers *modifiers_return,
  104.                         KeySym *keysym_return) ;
  105.  
  106. #endif /* _NO_PROTO */
  107. /********    End Public Function Declarations    ********/
  108.  
  109.  
  110. #ifdef __cplusplus
  111. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  112. #endif
  113.  
  114. #endif /* _XmVirtKeys_h */
  115.